<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class SmartAutoPushRequest extends MineFormRequest
{
    public function saveRules()
    {
        return [
            'title' => 'required',
            'robot_ids' =>'required',
            'include_tag' => 'required',
            'exclude_tag' => 'required',
            'content' => 'required',
        ];
    }

    public function updateRules()
    {
        return [
            'id' => 'required',
            'title' => 'required',
            'robot_ids' =>'required',
            'include_tag' => 'required',
            'exclude_tag' => 'required',
            'content' => 'required',
        ];
    }

    public function deleteRules()
    {
        return [
            'id' => 'required',
        ];
    }
}